home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!not-for-mail
- From: gbe@primenet.com (Gary Edstrom)
- Newsgroups: comp.lang.c++
- Subject: Re: GetSystemMetrics
- Date: 26 Jan 1996 22:47:00 -0700
- Organization: Sequoia Software
- Sender: root@primenet.com
- Message-ID: <3109bc99.12489030@news.primenet.com>
- References: <4ecccb$rpb@news.iconn.net>
- X-Posted-By: ip026.lax.primenet.com
- X-Newsreader: Forte Agent .99c/16.141
-
- kjpoglit@kjpoglit. (Karl Poglitsch) wrote:
-
- >I have a question for you now... Any way to stop a window from being sized too
- >small? I tried to intercept the WM_SIZE command, however I couldn't get
- >anything working there... I know it can be done, but I can't figure out how to
- >do it. I'm also looking into animated icons, however I can't get it to change
- >by itself. I force it to repaint, but that doesn't work. It does work if I
- >actually move the icon though. Any ideas on this?
-
- Try intercepting the WM_GETMINMAXINFO message. It passes a pointer to
- a MINMAXINFO structure where you can store all of the information as
- to minimum & maximum window sizes and positions.
-
- Gary
-
- --
- Gary Edstrom <gbe@primenet.com> | Sequoia Software
- PO Box 9573 | Programming & Technical Services
- Glendale CA 91226-0573 | PGP Key ID: 0x1A0D44BD
- PGP Fingerprint: 72 AA 4F 73 05 53 89 C6 8A EE F4 EE D1 C0 13 8D
-